$OpenBSD: patch-configure_ac,v 1.1 2012/12/07 15:16:49 naddy Exp $
--- configure.ac.orig	Wed Dec  5 18:01:38 2012
+++ configure.ac	Wed Dec  5 18:02:35 2012
@@ -33,7 +33,8 @@ AC_FUNC_CHOWN
 AC_FUNC_FORK
 AC_PROG_GCC_TRADITIONAL
 AC_FUNC_MALLOC
-AC_CHECK_FUNCS([atexit cfmakeraw dup2 gettimeofday memmove memset putenv      \
+AC_CHECK_FUNCS([atexit cfmakeraw dup2 gettimeofday memmove memset	\
+                posix_openpt putenv \
                 strcasecmp strchr strdup strrchr unsetenv ])
 AC_TRY_LINK([#ifndef _GNU_SOURCE
              #define _GNU_SOURCE
